Skip to content

Conversation

@enryH
Copy link
Collaborator

@enryH enryH commented May 5, 2025

Add code checks using ruff.

@enryH enryH requested review from Copilot and sayalaruano May 5, 2025 11:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces ruff checks into the CI pipeline while also cleaning up some redundant string formatting and minor code issues.

  • Removed unnecessary f-string formatting where no interpolation occurs
  • Replaced unused variable assignments with underscore to indicate an intentionally ignored return value
  • Added a new CI workflow step to lint the package using ruff

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/vuegen/streamlit_reportview.py Removed unnecessary f-string usage and unused variable assignments; fixed a spelling error in a comment
src/vuegen/report.py Removed an unused json import
src/vuegen/quarto_reportview.py Similar cleanup in string formatting and unused variable assignment
.github/workflows/cdci.yml Added a linting step with ruff to check the src directory

@sayalaruano sayalaruano merged commit 515886c into main May 5, 2025
16 checks passed
@sayalaruano sayalaruano deleted the ruff_checks branch May 5, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants